package com.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.pojo.dto.problem.ProblemQueryRequest;
import com.example.pojo.entity.question.Problem;
import com.example.pojo.vo.problem.ProblemVo;

public interface ProblemService extends IService<Problem> {

    // 查询所有题目列表
    Page<ProblemVo> listAll(ProblemQueryRequest problemQueryRequest);

    // 根据id查询题目详情
    ProblemVo selectById(Long id);
}
